package com.drama.api.company.video.domain.po;

import com.drama.api.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Table;
import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = false)
@Table(name = "video")
public class CompanyVideoPO extends BaseEntity {

    /**
     * 剧目ID
     */
    @Column(name = "drama_id")
    private String dramaId;

    @Column(name = "company_id")
    private String companyId;

    @Column(name = "video_ref")
    private String videoRef;
    /**
     * 视频集数
     */
    @Column(name = "video_gather")
    private Integer videoGather;

    @Column(name = "video_file_id")
    private String videoFileId;


    @Column(name = "video_size")
    private String videoSize;

    /**
     * 视频名称
     */
    @Column(name = "video_name")
    private String videoName;

    @Column(name = "video_all_name")
    private String videoAllName;

    /**
     * 视频价格
     */
    @Column(name = "video_price")
    private BigDecimal videoPrice;

    /**
     * 视频状态  1 已选取 2 未选取
     */
    @Column(name = "video_state")
    private Integer videoState;

    /**
     * 视频原地址地址
     */
    @Column(name = "video_old_url")
    private String videoOldUrl;

    /**
     * 视频转码后播放地址
     */
    @Column(name = "video_url")
    private String videoUrl;

    /**
     * 视频点赞数量
     */
    @Column(name = "video_like")
    private Long videoLike;

    /**
     * 视频播放数量
     */
    @Column(name = "video_play")
    private Long videoPlay;



    /**
     * 视频播放数量
     */
    @Column(name = "is_examine")
    private Integer isExamine;

    /**
     * 视频播放数量
     */
    @Column(name = "is_label")
    private Integer isLabel;

    @Column(name = "is_cropping")
    private Integer isCropping;
    @Column(name = "is_synchronous")
    private Integer isSynchronous;
    @Column(name = "is_oss")
    private Integer isOss;
    @Column(name = "label_desc")
    private String labelDesc;
    @Column(name = "examine_desc")
    private String examineDesc;



}